<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>SWIMv2</title>
<link rel="stylesheet" type="text/css"
	href="/SWIMv2gm/shared/global.css" />
</head>
<body>
	<div id="header">
		<h1>SWIMv2</h1>
	</div>
	<%@include file="/shared/menu.jsp"%>
	<div id="loginbox">
		<%
			if (request.getParameter("error") != null) {
		%>
		<div class="errorbox">Dati inseriti non validi</div>
		<%
			}
		%>
		<form id="login" method="post" action="/SWIMv2gm/user/Login">
			<h2>Login</h2>
			<table>
				<tr>
					<td><label for="email">Indirizzo:</label></td>
					<td><input name="email" /></td>
				</tr>
				<tr>
					<td><label for="password">Password:</label></td>
					<td><input type="password" name="password" /></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" value="Login" /></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>